package com.viu.technology.mapper;

import com.viu.technology.po.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selUserAndRoleById(String id);

    User selUserAndRoleByPhone(String phone);
}